package com.fansea.dao;

import com.fansea.domain.BlackGroup;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.List;
import java.util.Optional;

public interface BlackGroupDao extends JpaRepository<BlackGroup,Integer> {

    @Override
    Page<BlackGroup> findAll(Pageable pageable);
}